/* Base Styles */
:root {
    --primary-color: #2563eb;    /* Modern blue */
    --gradient-start: #4f46e5;   /* Indigo */
    --gradient-end: #ec4899;     /* Pink */
    --text-color: #1f2937;       /* Gray-800 */
    --muted-text: #4b5563;       /* Gray-600 */
    --background-light: #f8fafc; /* Light blue-gray */
  }
  
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--background-light);
  }

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
/* Ensure all elements stay within viewport */
.container {
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Extra protection for images */
img {
  max-width: 100%;
  height: auto;
}
  
  /* Gradient Text Effect */
  .gradient-text {
    background-image: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  /* Article Container */
  .article-container {
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
  }
  
  /* Section Headings */
  .section-heading {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
  }
  
  .section-heading i {
    position: absolute;
    left: 0;
    top: 0.2em;
    color: var(--primary-color);
  }
  
  /* Modern List Styles */
  .modern-list {
    list-style: none;
    padding-left: 0;
  }
  
  .modern-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
  }
  
  .modern-list li::before {
    content: "\f058"; /* FontAwesome check icon */
    font-family: "Font Awesome 6 Free";
    position: absolute;
    left: 0;
    color: var(--primary-color);
  }
  
  /* Interactive Elements */
  .interactive-card {
    transition: transform 0.2s ease;
    border: 1px solid #e5e7eb;
  }
  
  .interactive-card:hover {
    transform: translateY(-4px);
  }


  /* Ordered List Styles */
.modern-ol {
    list-style: none;
    counter-reset: custom-counter;
    padding-left: 2rem;
  }
  
  .modern-ol li {
    counter-increment: custom-counter;
    margin-bottom: 1rem;
    position: relative;
  }
  
  .modern-ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: -2rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
  }
  
  /* Special Section Styling */
  .strategy-section {
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
  }
  
  .callout-box {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  /* Responsive Typography */
  @media (max-width: 768px) {
    .display-4 {
      font-size: 2.5rem;
    }
    
    .lead {
      font-size: 1.1rem;
    }
  }
  
  /* Accessibility Focus States */
  a:focus, button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }